package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工单池
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "workorde_pool")
public class WorkordePool implements Serializable {
    public static final String COL_WORKORDE_POOL_NO = "workorde_pool_no";
    public static final String COL_WORKORDE_POOL_NAME = "workorde_pool_name";
    public static final String COL_USER_ID = "user_id";
    public static final String COL_WORKORDE_POOL_STATE = "workorde_pool_state";
    public static final String COL_CREATE_USER_ID = "create_user_id";
    public static final String COL_WORKORDE_POOL_TIME = "workorde_pool_time";
    /**
     * 工单池的编号
     */
    @TableId(value = "workorde_pool_no", type = IdType.INPUT)
    private Integer workordePoolNo;

    /**
     * 工单池名称
     */
    @TableField(value = "workorde_pool_name")
    private String workordePoolName;

    /**
     * 管理员
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 状态(1,未完成 2,进行中 3,以完成)
     */
    @TableField(value = "workorde_pool_state")
    private Integer workordePoolState;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "workorde_pool_time")
    private Date workordePoolTime;

    private static final long serialVersionUID = 1L;
}